'use strict';
const {verifyToken}=require("wx-common")
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	event.token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2M…Q1M30.aJ8Qy-_KqkJ5Zu0m5S9Dh7FTD5ZRoM5FQmvb6_Gx4So";
	let res=verifyToken(event.token)
	console.log(res)
	//返回数据给客户端
	return res
	}
